using mesan.core.Managers;
using mesan.core.Repository;
using Moq;

namespace mesan.core.specifications
{
	public class MockedEndpointsRegistry : DefaultRegistry
	{
		public MockedEndpointsRegistry()
		{
			For<ILoginManager>().Singleton().Use<LoginManager>();

			For<IPasswordRequester>().Singleton().Use(new Mock<IPasswordRequester>().Object);
			For<IValidationRepository>().Singleton().Use(new Mock<IValidationRepository>().Object);
		}
	}
}
